package com.gandong8.trace.tool.config.dubbo.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "dubbo")
@Data
public class DubboProperties {
    private String name;
    private String protocol = "zookeeper";
    private String address = "localhost:2181";
    private Boolean check = true;
    private Integer port = -1; //port值-1 表示让dubbo自行找一个可用的port
    private Integer timeout = 1000;
    private String filter = "dubboFilter";
}
